#ifndef __ISO_INTERFACE_H__
#define __ISO_INTERFACE_H__

#include <stdint.h>

typedef struct
{
    int16_t temp[8];    //温度      		x10
	uint16_t volGridAB; //电网电压AB         x10
	uint16_t volGridBC; //电网电压BC         x10
	uint16_t volGridCA; //电网电压CA         x10
	uint16_t isoResPos; //绝缘阻值+(k)       x10 ＜50k就视为异常
	uint16_t isoResNeg; //绝缘阻值-(k)       x10 ＜50k就视为异常
	int16_t curGridA;   //电网电流A          x10
	int16_t curGridB;   //电网电流B          x10
	int16_t curGridC;   //电网电流C          x10
	int16_t curLeak;    //漏电流             x10
	uint16_t isoVolPos; //绝缘电压+          x10
	uint16_t isoVolNeg; //绝缘电压-          x10
}isoBoardInfor_t;

void GetIsoBoardInfor(isoBoardInfor_t *pIsoBoardInfor);
void SetIsoBoardInfor(isoBoardInfor_t *pIsoBoardInfor);

#endif